package griffin.website;

import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.MediaController;
import android.widget.VideoView;

public class AboutUs extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		//setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
		requestWindowFeature(Window.FEATURE_NO_TITLE);         
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,                     
		WindowManager.LayoutParams.FLAG_FULLSCREEN); 
		this.setContentView(R.layout.aboutus);
		VideoView videoView=(VideoView)this.findViewById(R.id.videoView1);
		MediaController mc= new MediaController(this);
		videoView.setMediaController(mc);
		videoView.setVideoURI(Uri.parse("http://griffin.ciandt.cn/v3gp.3gp"));
		videoView.requestFocus();
		videoView.start();
		mc.show();		
	}
}